import 'vant/lib/icon/local.css';

import autoHeight from '@/directives/autoHeight';
import { Toast } from 'vant';
import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from '@/store/page'
Vue.config.productionTip = false
Vue.use(Toast);
import { Dialog } from 'vant';

// 全局注册
Vue.use(Dialog);
// 注册全局自定义指令
Vue.directive('autoHeight', autoHeight);
new Vue({
  store,
  router,
  render: h => h(App),
}).$mount('#app')
